package alipay.openplatform.edu.campus.jiuye.dao.mappers.activity;

import alipay.openplatform.edu.campus.jiuye.common.page.Page;
import alipay.openplatform.edu.campus.jiuye.model.po.BllGoodVoicePO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface BllGoodVoiceUserMapper {

    int deleteByPrimaryKey(Integer id);

    int insert(BllGoodVoicePO record);

    int insertSelective(BllGoodVoicePO record);

    BllGoodVoicePO selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(BllGoodVoicePO record);

    int updateByPrimaryKey(BllGoodVoicePO record);

    List<BllGoodVoicePO> selectAllByAreaId(@Param("areaId") Integer areaId);


    int updateUserCount(@Param("id") Integer id,@Param("count") Integer count);

    int addUserCount(@Param("id") Integer id);

    int selectUserCount(@Param("id") Integer id);

    List<BllGoodVoicePO> selectByAreaId(Page page);
}